Dynamically route logic based on input
https://python.langchain.com/docs/expression_language/how_to/routing
Using a RunnableBranch
Using a custom function